
namespace ZR.Model.BaseManage
{
    /// <summary>
    /// agv信息
    /// </summary>
    [SugarTable("base_agv")]
    public class BaseAgv
    {
        /// <summary>
        /// 主键 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "agv_id")]
        public string AgvId { get; set; }

        /// <summary>
        /// 小车编号 
        /// </summary>
        [SugarColumn(ColumnName = "agv_code")]
        public string AgvCode { get; set; }

        /// <summary>
        /// 是否在线 
        /// </summary>
        public bool Online { get; set; }

        /// <summary>
        /// 任务是否在线 
        /// </summary>
        [SugarColumn(ColumnName = "task_online")]
        public bool TaskOnline { get; set; }

        /// <summary>
        /// 小车状态 
        /// </summary>
        [SugarColumn(ColumnName = "status_string")]
        public string StatusString { get; set; }

        /// <summary>
        /// 车型 
        /// </summary>
        [SugarColumn(ColumnName = "category_id")]
        public int? CategoryId { get; set; }

        /// <summary>
        /// 地图名称 
        /// </summary>
        [SugarColumn(ColumnName = "map_name")]
        public string MapName { get; set; }

        /// <summary>
        /// 任务号 
        /// </summary>
        [SugarColumn(ColumnName = "task_id")]
        public int? TaskId { get; set; }

        /// <summary>
        /// 控制状态 
        /// </summary>
        [SugarColumn(ColumnName = "control_string")]
        public string ControlString { get; set; }

        /// <summary>
        /// 是否急停 
        /// </summary>
        [SugarColumn(ColumnName = "emergency_stop_string")]
        public string EmergencyStopString { get; set; }

        /// <summary>
        /// 有无货 
        /// </summary>
        [SugarColumn(ColumnName = "goods_status_string")]
        public string GoodsStatusString { get; set; }

        /// <summary>
        /// 电量 
        /// </summary>
        public string Power { get; set; }

        /// <summary>
        /// 是否软急停 
        /// </summary>
        [SugarColumn(ColumnName = "soft_stop")]
        public int? SoftStop { get; set; }

        /// <summary>
        /// 点位 
        /// </summary>
        [SugarColumn(ColumnName = "site_id")]
        public string SiteId { get; set; }

        /// <summary>
        /// 车身角度 
        /// </summary>
        public string Angle { get; set; }

        /// <summary>
        /// x 
        /// </summary>
        public string X { get; set; }

        /// <summary>
        /// y 
        /// </summary>
        public string Y { get; set; }

        /// <summary>
        /// xy 
        /// </summary>
        public string Xy { get; set; }

        /// <summary>
        /// 速度 
        /// </summary>
        public int? Speed { get; set; }

        /// <summary>
        /// 故障码 
        /// </summary>
        [SugarColumn(ColumnName = "err_code")]
        public string ErrCode { get; set; }

        /// <summary>
        /// 预警电量 
        /// </summary>
        [SugarColumn(ColumnName = "warning_power_low")]
        public string WarningPowerLow { get; set; }

        /// <summary>
        /// AdditiveInfo 
        /// </summary>
        [SugarColumn(ColumnName = "additive_info")]
        public string AdditiveInfo { get; set; }

        /// <summary>
        /// 创建人 
        /// </summary>
        [SugarColumn(ColumnName = "create_by")]
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        [SugarColumn(ColumnName = "create_time")]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人 
        /// </summary>
        [SugarColumn(ColumnName = "update_by")]
        public string UpdateBy { get; set; }

        /// <summary>
        /// 更新时间 
        /// </summary>
        [SugarColumn(ColumnName = "update_time")]
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 备注 
        /// </summary>
        public string Remark { get; set; }

    }
}